<%@ page language="java" contentType="text/json; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
	 {
		"total":${page.totalElements },
		"rows":[
	<c:forEach var="cr" varStatus="status" items="${page.content }">
			{"id":${cr.id},"license":"${cr.car.license}","type":"${cr.type}",
			"date":"<fmt:formatDate value="${cr.date}" pattern="yy-M-d HH:mm:ss"/>","masterName":"${cr.car.masterName}","phone":"${cr.car.masterPhone}"}<c:if test="${!status.last }">,</c:if>
	</c:forEach>
	] 
	}
	
